package net.chrone.quickpayapi.service;

import net.chrone.quickpayapi.model.CiticWxBaseBean;
import net.chrone.quickpayapi.model.Merchant;
import net.chrone.quickpayapi.model.Order;

public interface OrderService {

	Order newOrder(Order order,Merchant merchant) throws Exception ;
	
	Order find(String orgId,String orgOrderNo);
	
	Order findByPrimaryKey(String orderNo);

	Order findByChannelId(String payChannelId,String orderId);

	int updateByPrimaryKey(Order order);

	int updateByCiticNotify(Order orgiOrder, CiticWxBaseBean notifyBean);
	
}
